/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ceair.flight.refund.dto;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 *
 * @author youguilin
 */
public class RefundDocs implements Serializable {

    private static final long serialVersionUID = 6354711203987958825L;

    /**
     * 证明文件名或者内容说明
     */
    @Size(max = 200, message = "Attachment description length over limitation")
    private String contentDesc;
    /**
     * 证明文件路径
     */
    @NotNull(message = "Attachement file path must not empty")
    @Size(min = 3, max = 1000)
    private String attchments;

    public String getContentDesc() {
        return contentDesc;
    }

    public void setContentDesc(String contentDesc) {
        this.contentDesc = contentDesc;
    }

    public String getAttchments() {
        return attchments;
    }

    public void setAttchments(String attchments) {
        this.attchments = attchments;
    }

    @Override
    public String toString() {
        return "RefundDocs{" + "contentDesc=" + contentDesc + ", attchments=" + attchments + '}';
    }

}
